import React, { Component } from 'react'
import Test from './Test'
export default class App extends Component {
  state = {
    flag: true,
  }
  render() {
    return (
      <div>
        <button
          onClick={() => {
            this.setState({
              flag: false,
              // yyy: 222,
            })
          }}
        >
          卸载test
        </button>
        <Test c={2}></Test>
      </div>
    )
  }
}
